Native Code

  • Hello World in R

    R

    This workflow execute 100 times a R program with differents inputs. The R task computes a matrix which is saved into an a file. Each resulting matrix file is saved in a different file.

    The R code has been packaged with CARE. The packaging command is mentionned in the package.sh file.

    source repository

  • Native Application Tutorial

    Tutorial exploring a linux native applications

    This tutorial demonstrate how to package your own application running on Linux to make it portable and explore it with OpenMOLE. To get started you should follow the instructions in the pdf.

    source repository

  • Random Forest

    Random Forest image classifier

    This workflow explores the parameters of a random forest image classifier written in Python using scikit-learn.

    The classifier is trained against the leaves dataset publicly available from here: http://www.vision.caltech.edu/Image_Datasets/leaves/ The idea is to distinguish the leaves of 3 different species.

    The Python script receives 3 input parameters: - the location of the dataset - the number of trees in a forest - the depth of each tree

    The OpenMOLE workflow explores those 3 parameters as follows: - the input dataset is shuffled so that it's picked up in a different order by the Python script - the number of trees ranges from 5 to 25 by steps of 5 - the tree depth ranges from 3 to 18 by steps of 3

    The output of the Python script is a double precision floating point number representing the precision accuracy.

    All the computed accuracies are stored in a CSV file using a hook for later post-processing.

    Two environmments are defined (Slurm and Condor) to delegate the execution of the Python script.

    Finally, the Python task was packaged using CARE with the resulting archive being available along this workflow. It should run seamlessly on any Linux platform.
    The original Python script is also available for records purpose.

    source repository

  • Segmentation with FSL

    FSL Fast

    This workflow segment several brain images using FSL. It also explore a spatial smoothness paramter. Each execution of FSL produces a directory containing the results. Each result directory is saved in the workDirectory.

    The FSL code has been packaged with CARE. The packaging command is mentionned in the package.sh file.

    source repository